package com.zhipu.resetbalance.ui.home.feature;

import android.os.Bundle;

import androidx.lifecycle.ViewModelProvider;

import com.zhipu.resetbalance.R;
import com.zhipu.resetbalance.databinding.ActivityFeatureComputeBinding;
import com.zhipu.resetbalance.ui.BaseActivity;

/**
 * 计算
 */
public class FeatureComputeActivity extends BaseActivity<ActivityFeatureComputeBinding> {

    /**
     * VM
     */
    private FeatureComputeViewModel mFeatureComputeViewModel;


    @Override
    public int initContentView(Bundle savedInstanceState) {
        return R.layout.activity_feature_compute;

    }


    @Override
    public void initViewModel() {
        super.initViewModel();
        //VM
        mFeatureComputeViewModel = new ViewModelProvider(getViewModelStore(), new ViewModelProvider.AndroidViewModelFactory(getApplication())).get(FeatureComputeViewModel.class);
        binding.setViewModel(mFeatureComputeViewModel);
    }



}
